package com.etone.smartAudit.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author: sovy
 * @date: 2020/12/22
 * @description: 产品地图分类
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "d_product_map_type")
public class ProductMapType implements Serializable {
    /**
     * ID
     */
    @TableId(value = "intId", type = IdType.AUTO)
    private Integer id;

    /**
     * 产品地图分类名称
     */
    @TableField(value = "vcName")
    private String name;

    /**
     * 排序
     */
    @TableField(value = "intSort")
    private Integer sort;

    /**
     * 状态
     */
    @TableField(value = "vcState")
    private String state;

    /**
     * 父级id
     */
    @TableField(value = "intPid")
    private Integer pid;
}